CPSW\Gateway\Abstract_Payment_Gateway C

Total Complexity 119
Dependencies 5
Dependents 0
Total lines 747
Lines of code 412
Logical lines of code 226
Comment lines 232
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
process_response()
A
44 12 43
create_stripe_customer()
A
48 13 28
process_refund()
A
48 10 27
update_balance()
A
49 9 28
is_available()
A
56 9 18
get_stripe_order_data()
A
47 7 38
get_customer_id()
A
55 8 21
get_metadata()
S
51 7 27
get_payment_intent()
S
47 6 36
create_refund_request()
S
49 4 29
get_billing_country()
S
58 4 15
update_stripe_balance()
S
61 4 11
get_clients_details()
S
63 4 10
get_original_amount()
S
63 3 10
get_formatted_amount()
S
63 3 10
payment_icons()
S
60 2 13
get_transaction_url()
S
67 2 8
get_currency()
S
68 2 7
update_stripe_order_data()
S
72 2 5
format_amount()
S
68 2 7
get_stripe_currency()
S
79 1 3
get_stripe_fee()
S
79 1 3
get_stripe_net()
S
79 1 3
add_gateway_class()
S
76 1 4
get_order_description()
S
76 1 3
__construct()
S
71 1 5